package com.suifeng.mq.stock.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("t_stock_order_task_detail")
public class StockOrderTaskDetailEntity implements Serializable {

    /**
     * id
     */
    @TableId
    private Long id;
    private Long goodsId;
    private String goodsName;
    /**
     * 购买个数
     */
    private Integer goodsNum;
    /**
     * 工作单id
     */
    private Long taskId;
    /**
     * 仓库id
     */
    private Long stockId;
    /**
     * 1-已锁定  2-已解锁  3-扣减
     */
    private Integer lockStatus;


}
